const state = {
    main: 0,
};

const mutations = {
    DECREMENT_MAIN_COUNTER(state) {
        state.main--;
    },
    INCREMENT_MAIN_COUNTER(state) {
        state.main++;
    },
};

const actions = {
    incrementMain({ commit }) {
        commit("INCREMENT_MAIN_COUNTER");
    },
    decrementMain({ commit }) {
        commit("DECREMENT_MAIN_COUNTER");
    },
};

export default {
    namespaced: true,
    state,
    mutations,
    actions,
};
